package com.yingcheng.numerology.framework.bazi.core.calculator;

import com.yingcheng.numerology.framework.bazi.core.vo.AbstractParameter;

/**
 * 基础抽象方法
 *
 * @author xiaofeng
 * @date 2025/1/12 18:17
 */
public abstract class AbstractCalculatorHandler<T, E extends AbstractParameter> implements CalculatorHandler<T, E> {

    @Override
    public T execute(E parameter) {
        return calculatorHandler(parameter);
    }

    public abstract T calculatorHandler(E parameter);
}
